package com.mobisys.live.dao.model;

import com.mobisys.live.util.UUIDUtil;

import java.util.Date;

public class User {
    private String id;

    private String username;

    private String password;

    private String headPicId;

    private Byte accountType;

    private String token;

    private Byte vipLevel;

    private String tag;

    private String infoPersonalId;

    private String infoEnterpriseId;

    private Integer phone;

    private String eMail;

    private Date birthday;

    private Integer gender;

    private String employer;

    private String department;

    private String career;

    private String introduction;

    private Integer registerType;

    private String nickName;

    private String zzmm;

    private String entryTime;

    private Integer isInService;

    private String jobTitle;

    private String fGroup;

    private String profession;

    public User(){
        this.id = UUIDUtil.getUUID();
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    public String getHeadPicId() {
        return headPicId;
    }

    public void setHeadPicId(String headPicId) {
        this.headPicId = headPicId == null ? null : headPicId.trim();
    }

    public Byte getAccountType() {
        return accountType;
    }

    public void setAccountType(Byte accountType) {
        this.accountType = accountType;
    }

    public String getToken() {
        return token;
    }

    public void setToken(String token) {
        this.token = token == null ? null : token.trim();
    }

    public Byte getVipLevel() {
        return vipLevel;
    }

    public void setVipLevel(Byte vipLevel) {
        this.vipLevel = vipLevel;
    }

    public String getTag() {
        return tag;
    }

    public void setTag(String tag) {
        this.tag = tag == null ? null : tag.trim();
    }

    public String getInfoPersonalId() {
        return infoPersonalId;
    }

    public void setInfoPersonalId(String infoPersonalId) {
        this.infoPersonalId = infoPersonalId == null ? null : infoPersonalId.trim();
    }

    public String getInfoEnterpriseId() {
        return infoEnterpriseId;
    }

    public void setInfoEnterpriseId(String infoEnterpriseId) {
        this.infoEnterpriseId = infoEnterpriseId == null ? null : infoEnterpriseId.trim();
    }

    public Integer getPhone() {
        return phone;
    }

    public void setPhone(Integer phone) {
        this.phone = phone;
    }

    public String geteMail() {
        return eMail;
    }

    public void seteMail(String eMail) {
        this.eMail = eMail == null ? null : eMail.trim();
    }

    public Date getBirthday() {
        return birthday;
    }

    public void setBirthday(Date birthday) {
        this.birthday = birthday;
    }

    public Integer getGender() {
        return gender;
    }

    public void setGender(Integer gender) {
        this.gender = gender;
    }

    public String getEmployer() {
        return employer;
    }

    public void setEmployer(String employer) {
        this.employer = employer == null ? null : employer.trim();
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department == null ? null : department.trim();
    }

    public String getCareer() {
        return career;
    }

    public void setCareer(String career) {
        this.career = career == null ? null : career.trim();
    }

    public String getIntroduction() {
        return introduction;
    }

    public void setIntroduction(String introduction) {
        this.introduction = introduction == null ? null : introduction.trim();
    }

    public Integer getRegisterType() {
        return registerType;
    }

    public void setRegisterType(Integer registerType) {
        this.registerType = registerType;
    }

    public String getNickName() {
        return nickName;
    }

    public void setNickName(String nickName) {
        this.nickName = nickName == null ? null : nickName.trim();
    }

    public String getZzmm() {
        return zzmm;
    }

    public void setZzmm(String zzmm) {
        this.zzmm = zzmm;
    }

    public String getEntryTime() {
        return entryTime;
    }

    public void setEntryTime(String entryTime) {
        this.entryTime = entryTime;
    }

    public Integer getIsInService() {
        return isInService;
    }

    public void setIsInService(Integer isInService) {
        this.isInService = isInService;
    }

    public String getJobTitle() {
        return jobTitle;
    }

    public void setJobTitle(String jobTitle) {
        this.jobTitle = jobTitle;
    }

    public String getfGroup() {
        return fGroup;
    }

    public void setfGroup(String fGroup) {
        this.fGroup = fGroup;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    @Override
    public String toString() {
        return "User{" +
                "id='" + id + '\'' +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", headPicId='" + headPicId + '\'' +
                ", accountType=" + accountType +
                ", token='" + token + '\'' +
                ", vipLevel=" + vipLevel +
                ", tag='" + tag + '\'' +
                ", infoPersonalId='" + infoPersonalId + '\'' +
                ", infoEnterpriseId='" + infoEnterpriseId + '\'' +
                ", phone=" + phone +
                ", eMail='" + eMail + '\'' +
                ", birthday=" + birthday +
                ", gender=" + gender +
                ", employer='" + employer + '\'' +
                ", department='" + department + '\'' +
                ", career='" + career + '\'' +
                ", introduction='" + introduction + '\'' +
                ", registerType=" + registerType +
                ", nickName='" + nickName + '\'' +
                ", zzmm='" + zzmm + '\'' +
                ", entryTime='" + entryTime + '\'' +
                ", isInService=" + isInService +
                ", jobTitle='" + jobTitle + '\'' +
                ", fGroup='" + fGroup + '\'' +
                ", profession='" + profession + '\'' +
                '}';
    }
}